﻿@model workflowMVC.Models.ExcemptTuitionTaskRevModel

@{
    ViewBag.Title = "ExcemptTuitionDetail";
}

<h2>Duyệt</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@{
    string action = ViewBag.DisplayFormSourceAction;
    string controller = ViewBag.DisplayFormSourceController;
    Html.RenderAction(action,controller);}

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <table class="ui-widget-content ui-corner-all" style="margin:auto;padding:5px">
        
        <tr>
            <td>
                @Html.LabelFor(model => model.Tuition)
            </td>
            <td>
                @Html.TextBoxFor(model => model.Tuition)
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                @Html.ValidationMessageFor(model => model.Tuition)
            </td>
        </tr>

        <tr>
            <td>
                @Html.LabelFor(model => model.Fault)
            </td>
            <td>
                @Html.TextAreaFor(model => model.Fault)
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                @Html.ValidationMessageFor(model => model.Fault)
            </td>
        </tr>

        <tr>
            <td>
                @Html.LabelFor(model => model.NewNote)
            </td>
            <td>
                @Html.TextAreaFor(model => model.NewNote)
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                @Html.ValidationMessageFor(model => model.NewNote)
            </td>
        </tr>
        
        <tr>
            <td></td>
            <td><input type="submit" name="bSubmit" value="Duyệt" /><input type="submit" name="bSubmit" value="Từ chối"  /></td>
            
        </tr>
        
    </table>
}
<br />
<hr />
<p>
@Html.LabelFor(model => model.Logs) <br />
@Html.DisplayFor(model => model.Logs)
</p>